export default {
    fields: {
        columns: ['province', 'city', 'type', 'price', 'cost'],
    },
    header: [
        {
            field: 'province',
            name: '省份',
           
        },
        {
            field: 'city',
            name: '城市',
            "opts":{
                "color":'primary',
                "fontColor":"",
                "light":true,
                "asyncStyleCell":true
            }
        },
        {
            field: 'type',
            name: '类别地类别sfd地',
        },
        {
            field: 'price',
            name: '价格',
            "opts":{
                "sort":true
            }
        },
        {
            field: 'cost',
            name: '成本',
            
        },
    ],
    data: [
        {
            "province": "浙江",
            "city": "杭州",
            "type": "笔",
            "price": 1
        },
        {
            "province": "浙江",
            "city": "杭州",
            "type": "纸张",
            "price": 2
        },
        {
            "province": "浙江",
            "city": "舟山",
            "type": "笔",
            "price": 17,
            "opts":{
                "city":{fontColor:'yellow'},
                "type":{color:'yellow'},
            }
        },
        {
            "province": "浙江",
            "city": "舟山",
            "type": "纸张",
            "price": 6,
            "opts":{
                "price":{color:'primary',light:true},
            }
        },
        {
            "province": "吉林",
            "city": "长春",
            "type": "笔",
            "price": 8
        },
        {
            "province": "吉林",
            "city": "白山",
            "type": "笔",
            "price": 12,
            "opts":{
                "city":{fontColor:'yellow'},
                "type":{type:'button'},
            }
        },
        {
            "province": "吉林",
            "city": "长春",
            "type": "纸张",
            "price": 3
        },
        {
            "province": "吉林",
            "city": "白山",
            "type": "纸张",
            "price": 25
        },
        {
            "province": "浙江",
            "city": "杭州",
            "type": "笔",
            "price": 20
        },
        {
            "province": "浙江",
            "city": "杭州",
            "type": "纸张",
            "price": 10
        },
        {
            "province": "浙江",
            "city": "舟山",
            "type": "笔",
            "price": 15
        },
        {
            "province": "浙江",
            "city": "舟山",
            "type": "纸张",
            "price": 2
        },
        {
            "province": "吉林",
            "city": "长春",
            "type": "笔",
            "price": 15
        },
        {
            "province": "吉林",
            "city": "白山",
            "type": "笔",
            "price": 30
        },
        {
            "province": "吉林",
            "city": "长春",
            "type": "纸张",
            "price": 40
        },
        {
            "province": "吉林",
            "city": "白山",
            "type": "纸张",
            "price": 50
        }
    ]
};